//
//  SmallDecisionsBaseViewControllerProtocol.h
//  SmallDecisions
//
//  Created by 李付雄 on 2025/6/14.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@protocol SmallDecisionsBaseViewControllerProtocol <NSObject>
@optional

- (void)loadRequestWithSuccess:(void (^)(id _Nullable res))success
                       failure:(void (^)(NSError * _Nullable error))failure;

- (void)setupSubview;

- (void)refreshUI;

- (void)showErrorView;

- (void)hiddenErrorView;

- (UIImage *)errorImage;

- (NSString *)errorText;
@end

NS_ASSUME_NONNULL_END
